﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GDF_kaart_inlezen;

namespace GDF_kaart_inlezen
{
    public class Edge : ReadingStrategy
    {
        public Edge()
        {
            recordCode = "24";
        }

        public override void Process(string record)
        {
            counter = 0;
            String fieldValue;

            if (record.Substring(0, 2) == recordCode) record = record.Substring(2);
            fieldValue = GetFieldValue("EDGE_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("XYZ_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("FKNOT_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("TKNOT_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("LFACE_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("RFACE_ID", ref record);
            //Implement processing
            fieldValue = GetFieldValue("STATUS", ref record);
            //Implement processing
        }
    }
}
